var Element = require('./Element');
var globalOptions = require('./globalOptions');
var VirtualNode = function (e, t) {
    o(this, e, t);
};
VirtualNode.prototype = Object.create(Element.prototype);
var o = VirtualNode.initialize = function (e, t, i) {
    e.is = t || '';
    var r = null;
    'dom' === globalOptions.documentBackend && (r = undefined);
    Element.initialize(e, r, i);
    e.__virtual = true;
};
VirtualNode._advancedCreate = function (e, t) {
    return new VirtualNode(e, t);
};
VirtualNode.create = function (e) {
    return new VirtualNode(e, null);
};
module.exports = VirtualNode;
